<template>
  <div class="app">
    <h1>{{  msg}}</h1>
    <MySchool/>
    <MyStudent/>
  </div>
</template>
<script>
// 引入School组件
 import MyStudent from './components/Student.vue'
 import MySchool from './components/School.vue'
export default {
name:'App',
components:{MyStudent,MySchool},
data(){
  return{
    msg:'你好啊！'
  }
}
}
</script>
<style scoped>
.app{
  background-color: pink;
  padding: 5px;
}
</style>